home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
038a
/
vegx20.zip
/
EGXVIEW.BAS
< prev
next >
Wrap
BASIC Source File
|
1990-11-15
|
1KB
|
50 lines
' EGXVIEW.bas
' This program simply uses the FILES command to list the EGX files,
' inputs the filename and the flag option to load, and loads the EGX file.
' You must load QB with the appropriate VEGX quicklibrary for your
' version of QB.
' to do so type "QB /Lvegxlibraryname" at the DOS prompt.
' "vegxlibraryname" is VEGX40.QLB for QB 4.0 or BASIC 6.0;
' VEGX45.QLB for QB 4.5, and
' VEGX70f.QLB for BASIC 7.0
DEFINT A-Z
DECLARE SUB EGXLoad (fil$, palflag)
SCREEN 9
CLS
top:
LOCATE 1, 1
COLOR 12
FILES "*.egx"
PRINT STRING$(80, 205)
COLOR 15
INPUT "Enter filename, NO extension... ", fil$
IF fil$ = "" THEN
PALETTE: SCREEN 0: CLS
END
END IF
COLOR 6
PRINT "PALFLAG OUT IN"
PRINT " 0 no blank bank load"
PRINT " 1 blank to 0 instant on"
COLOR 14
INPUT "Enter PaletteFlag number (0 or 1)... ", palflag
CALL EGXLoad(fil$, palflag)
DO: LOOP WHILE INKEY$ = ""
GOTO top